package com.byq.mcpanus.model;

import jakarta.persistence.*;

@Entity
public class User {
    @Id
    private String id; // id即为username
    @Column(nullable = false)
    private String password;
    // 不直接引用Role实体

    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }
} 